﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content;
using Motoball.screenmanager;

namespace Motoball.screens
{
    class PlayerColorScreen : OptionsSelectScreen
    {/*
        int playerNumber;
        public PlayerColorScreen(ScreenManager screenManager, float finalDrawRadius, string screenName, 
            MenuScreen parentScreen, int playerNumber)
            : base(screenManager, finalDrawRadius, screenName, parentScreen)
        {
            this.playerNumber = playerNumber;
        }

        public override void LoadContent()
        {
            Texture2D texture = screenManager.Content.Load<Texture2D>("Images\\playpaddle");
            AddItem(new MenuItem(texture));
            GetItem(0).Color = Color.DarkBlue;
            AddItem(new MenuItem(texture));
            GetItem(1).Color = Color.BlueViolet;
            AddItem(new MenuItem(texture));
            GetItem(2).Color = Color.Gold;
            AddItem(new MenuItem(texture));
            GetItem(3).Color = Color.Crimson;
            AddItem(new MenuItem(texture));
            GetItem(4).Color = Color.DarkGreen;
            AddItem(new MenuItem(texture));
            GetItem(5).Color = Color.DarkOrange;

            TopItem = 0;

            Reset();
        }

        protected override bool DoSomething()
        {
            GameplayScreen screen = (GameplayScreen)screenManager.GetScreen("game");
            screen.GetPlayer(playerNumber).Color = items[TopItem].Color;
            if (playerNumber == 2)
                screen.GetPlayer(3).Color = items[TopItem].Color;

            return true;
        }*/
    }
}
